#ifndef SECONDWIDGET_H
#define SECONDWIDGET_H

#include <QLabel>
#include <QWidget>
#include <QPushButton>

namespace Ui {
class SecondWidget;
}

class SecondWidget : public QWidget
{
    Q_OBJECT

public:
    explicit SecondWidget(QWidget *parent = 0);
    ~SecondWidget();

private:
    Ui::SecondWidget *ui;
private:
    QLabel *label;
    QPushButton *firstBtn;
    QPushButton *mainBtn;

signals:
    void secondToFirst();
    void secondToMain();
private slots:
    void gotoFirst();
    void gotoMain();
};

#endif // SECONDWIDGET_H
